<?php
    include('../init.php');
    
$sql = <<<SQL
	DELETE FROM hs_cart
	WHERE m_id={$_SESSION['m_id']}
SQL;
		$result = mysql_query($sql);
		if($result){
			$data['status'] = 'success';
			$data['msg'] = '';
		}else{
			$data['status'] = 'fail';
			$data['msg'] = "ขออภัย ไม่สามารถลบสินค้าในตะกร้าได้";
		}
?>